package com.optitronics.ui;

import com.optitronics.beans.Reseller;

public class ResellerForm implements PasswordForm {

	private Integer id;

	private Integer version;

	private String name;

	private String email;

	private String taxNumber;

	private String password;

	private String passwordConfirmation;

	private Integer status;

	private String statusText;

	private String phoneNumber;

	private String activationToken;

	private Boolean disclaimerConfirmed;

	private String address;

	private String city;

	private String code;

	public ResellerForm() {
		this.status = Reseller.STATUS_ACTIVE;
	}

	public ResellerForm(Reseller reseller) {
		super();
		this.id = reseller.getId();
		this.version = reseller.getVersion();
		this.name = reseller.getName();
		this.email = reseller.getEmail();
		this.password = reseller.getPassword();
		this.passwordConfirmation = reseller.getPassword();
		this.status = reseller.getStatus();
		this.phoneNumber = reseller.getPhoneNumber();
		this.taxNumber = reseller.getTaxNumber();
		this.activationToken = reseller.getActivationToken();
		this.address = reseller.getAddress();
		this.city = reseller.getCity();
		this.code = reseller.getCode();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getTaxNumber() {
		return taxNumber;
	}

	public void setTaxNumber(String taxNumber) {
		this.taxNumber = taxNumber;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getActivationToken() {
		return activationToken;
	}

	public void setActivationToken(String activationToken) {
		this.activationToken = activationToken;
	}

	public String getPasswordConfirmation() {
		return passwordConfirmation;
	}

	public void setPasswordConfirmation(String passwordConfirmation) {
		this.passwordConfirmation = passwordConfirmation;
	}

	public String getStatusText() {
		return statusText;
	}

	public void setStatusText(String statusText) {
		this.statusText = statusText;
	}

	public Boolean getDisclaimerConfirmed() {
		return disclaimerConfirmed;
	}

	public void setDisclaimerConfirmed(Boolean disclaimerConfirmed) {
		this.disclaimerConfirmed = disclaimerConfirmed;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}
